home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
medhu_va.swf
/
scripts
/
DefineSprite_249
/
frame_11
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
562b
|
31 lines
stop();
cnt = 0;
var s = 0;
v2.onPress = function()
{
_parent.ins11._visible = false;
_parent.ins12._visible = false;
this.startDrag();
if(cnt == 1)
{
v2.gotoAndStop(3);
}
};
v2.onRelease = function()
{
if(plates.plate.hitTest(v2) || _parent.tava.hitTest(v2))
{
_parent.ins12._visible = true;
stopDrag();
this._x = v2._x;
this._y = v2._y;
cnt++;
}
if(tava.hitTest(v2))
{
v2._visible = false;
dupv2._visible = true;
dupv2.gotoAndPlay(2);
}
};